package com.xuecheng.api.teaching;

import com.xuecheng.api.teaching.model.dto.WorkDTO;
import com.xuecheng.api.teaching.model.dto.WorkRecordDTO;
import com.xuecheng.api.teaching.model.qo.QueryWorkModel;
import com.xuecheng.api.teaching.model.vo.WorkVo;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

/**
 * @author by lwl
 * @Date 2021/12/25
 * @Description 作业管理Api
 */

@Api(value = "作业管理")
public interface WorkApi {

    @ApiOperation("分页查询基本作业信息")
    PageVO queryWorkList(PageRequestParams params,String title, QueryWorkModel model);


    @ApiOperation("新增或修改作业")
    @ApiImplicitParam(name = "WorkVo",value = "作业Vo",required = true,dataType = "WorkVo",paramType = "body")
    WorkDTO createOrModifyWork(WorkVo workVo);




}
